package com.sudu.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


@Data
@TableName("t_video")
public class Detail {
    private int vid ;
    private String title ;
    private String img ;
    private int click ;
    private int comment ;
    private String path ;
    @TableField(value = "create_by")
    private int createBy ;
    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    private Date createTime ;
    private int tag ;
    private UserInfo userInfo ;
    private String tagTitle ;

}
